package com.wolf.service;

import com.wolf.pojo.Wl_user_role;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface Wl_user_roleService {
    int deleteByPrimaryKey(String id);

    int insert(Wl_user_role record);

    int insertSelective(Wl_user_role record);

    Wl_user_role selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(Wl_user_role record);

    int updateByPrimaryKey(Wl_user_role record);

    /**
     * 查询所有
     * @return
     */
    List<Wl_user_role> getAll();

    /**
     * 查询所有
     * @return
     */
    List<Wl_user_role> getSelective(@Param("rolename") String rolename, @Param("rolecode")String rolecode);

}